package life.sweet.community.mapper;

import life.sweet.community.dto.QueryQuestionDTO;
import life.sweet.community.model.Question;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface QuestionExtMapper {
    int incView(@Param("record") Question record);
    int incComment(@Param("record") Question record);
    List<Question> selectReleated(Question question);
    Integer countBySearch(QueryQuestionDTO queryDTO);
    List<Question> selectBySearch(QueryQuestionDTO queryQuestionDTO);
}